INCLUDES+=-I@abs_top_srcdir@/xbmc/cores/VideoPlayer

SRCS  = DVDVideoCodec.cpp
SRCS += DVDVideoCodecFFmpeg.cpp
SRCS += DVDVideoPPFFmpeg.cpp

ifeq (@USE_VDPAU@,1)
SRCS += VDPAU.cpp
endif
ifeq (@USE_VAAPI@,1)
SRCS += VAAPI.cpp
endif
ifeq ($(findstring osx,@ARCH@),osx)
SRCS += VDA.cpp
endif
ifeq (@USE_OPENMAX@,1)
SRCS += OpenMax.cpp
SRCS += OpenMaxVideo.cpp
SRCS += DVDVideoCodecOpenMax.cpp
endif
ifeq (@USE_IMXVPU@,1)
SRCS += DVDVideoCodecIMX.cpp
endif
ifeq (@USE_LIBAMCODEC@,1)
SRCS += AMLCodec.cpp
SRCS += DVDVideoCodecAmlogic.cpp
INCLUDES += -I$(prefix)/include/amcodec
INCLUDES += -I$(prefix)/include/amplayer
endif

ifeq (@USE_ANDROID@,1)
SRCS += DVDVideoCodecAndroidMediaCodec.cpp
endif

ifeq (@USE_MMAL@,1)
SRCS += MMALCodec.cpp MMALFFmpeg.cpp
endif

LIB=Video.a

include @abs_top_srcdir@/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))

